package org.karson.designpattern.behavioral.visitor.extract;

/**
 * @author Karson Wang
 * @title PPTFile
 * @Description 描述
 * @Date 2020/4/11 16:14
 * @Copyright 2019-2020
 */
public class PPTFile extends ResourceFile {

    public PPTFile(String filePath) {
        super(filePath);
    }

    @Override
    public void extract2txt() {
        //...省略一大坨从PPT中抽取文本的代码...
        //...将抽取出来的文本保存在跟filePath同名的.txt文件中...
        System.out.println("Extract PPT.");
    }
}